import request from '@/plugins/axios/request';
const baseURL = process.env.VUE_APP_BASE_API

// 采购过程-详情
export function getDetail(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy-process/getDetail`,
    method: "get",
    params: data,
  });
}
// 采购过程文件-添加
export function addProcessFile(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy-process/addProcessFile`,
    method: "post",
    data: data,
  });
}
// 采购过程文件-编辑
export function updateProcessFile(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy-process/updateProcessFile`,
    method: "post",
    data: data,
  });
}
// 采购过程文件-删除
export function deleteProcessFile(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy-process/deleteProcessFile`,
    method: "post",
    data: data,
  });
}
// 供应商-添加
export function addProcessSupplier(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy-process/addProcessSupplier`,
    method: "post",
    data: data,
  });
}
// 供应商-编辑
export function updateProcessSupplier(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy-process/updateProcessSupplier`,
    method: "post",
    data: data,
  });
}
// 供应商-删除
export function deleteProcessSupplier(data) {
  return request({
    url: `${baseURL}/tech-project-invite-buy-process/deleteProcessSupplier`,
    method: "post",
    data: data,
  });
}